<template>
	<view class="padb30">
		<cu-custom bgColor="bg-gradual-blue" isBack>
			<block slot="content">确认任务</block>
			<block slot="backText">返回</block>
		</cu-custom>
		<div class="">
		
			<my-textarea class="margin-top" v-model="en.tips" label="说明" placeholder="其他说明信息"></my-textarea>
			<pics class="margin-top" v-model="en.pics" label="附件" placeholder="额外附件,可传多图"></pics>
			<!-- <mySubmit v-model="en" model="streamOrderPoints"></mySubmit> -->
			<mySubmit v-model="en" model="streamOrderPoints" :url='"/api/my/streamOrderPoints/" + id +"/finish"'></mySubmit>
		</div>
	</view>
</template>

<script>
	import api from '../../../static/js/api.js'
	import com from '../../../static/js/com.js'
	import win from '../../../static/js/win.js'
	import list from '../../../static/js/list.js'
	
	import pics from '../../../com/component/pics.vue'
	import pic from '../../../com/component/pic.vue'
	import myEntity from '../../../com/component/myEntity.vue'
	import myText from '../../../com/component/myText.vue'
	import myTextarea from '../../../com/component/myTextarea.vue'
	import myDateTime from '../../../com/component/myDateTime.vue'
	import mySubmit from '../../../com/component/mySubmit.vue'
	export default {
		components:{
			pics,pic,myEntity,myText,myDateTime,myTextarea,mySubmit
		},
		data() {
			return {
				en:{
					tips:'',
					pics:[]
				},
				id:0
			}
		},
		methods: {
		},
		created() {
		},
		onLoad(option){
			let id = option.id
			this.id = id
			let _this = this
			if(id != undefined){
				api.res("stream_order_points",id,(res)=>{
					_this.en = res
				})
			}
		}
	}
</script>

<style>

</style>
